package org.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class TrainingRecord {
    /**
     * 记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 记录人id
     */
    private Long applicantId;

    /**
     * 培养人ID
     */
    private Long userId;

    /**
     * 培养日期
     */
    private LocalDate trainingDate;

    /**
     * 培养主题
     */
    private String trainingTitle;

    /**
     * 培养内容
     */
    private String trainingContent;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


    @TableField(exist = false)
    private String nickName;
}